#include<cstdio>
#include<iostream>
#include<cstring>
using namespace std;
int main(){
    char letter[]="  yrsays(a+bb+ccc-dddd) yr   ";
    char message[1000];
    int l=0,r=strlen(letter)-1;
    while(letter[l]==' ')l++;
    while(letter[r]==' ')r--;
    for(int i=l;i<=r;i++){
        message[i-l]=letter[i];
    }
    printf("g%sg",message);
    return 0;
}
